package com.hqyj.pojo;

import java.io.Serializable;

public class Employee implements Serializable {
    private int empId;
    private String empName;
    private int empAge;
    private String empSex;
    private int buildId;
    private String empJob;
    private String empAddress;
    private String empTel;

    public Employee() {
    }

    public Employee(int empId, String empName, int empAge, String empSex, int buildId, String empJob, String empAddress, String empTel) {
        this.empId = empId;
        this.empName = empName;
        this.empAge = empAge;
        this.empSex = empSex;
        this.buildId = buildId;
        this.empJob = empJob;
        this.empAddress = empAddress;
        this.empTel = empTel;
    }

    public int getEmpId() {
        return empId;
    }

    public void setEmpId(int empId) {
        this.empId = empId;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public int getEmpAge() {
        return empAge;
    }

    public void setEmpAge(int empAge) {
        this.empAge = empAge;
    }

    public String getEmpSex() {
        return empSex;
    }

    public void setEmpSex(String empSex) {
        this.empSex = empSex;
    }

    public int getBuildId() {
        return buildId;
    }

    public void setBuildId(int buildId) {
        this.buildId = buildId;
    }

    public String getEmpJob() {
        return empJob;
    }

    public void setEmpJob(String empJob) {
        this.empJob = empJob;
    }

    public String getEmpAddress() {
        return empAddress;
    }

    public void setEmpAddress(String empAddress) {
        this.empAddress = empAddress;
    }

    public String getEmpTel() {
        return empTel;
    }

    public void setEmpTel(String empTel) {
        this.empTel = empTel;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "empId=" + empId +
                ", empName='" + empName + '\'' +
                ", empAge=" + empAge +
                ", empSex='" + empSex + '\'' +
                ", buildId=" + buildId +
                ", empJob='" + empJob + '\'' +
                ", empAddress='" + empAddress + '\'' +
                ", empTel='" + empTel + '\'' +
                '}';
    }
}
